<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Train_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <!-- <input id="c-train_id" data-rule="required" data-source="train/index" class="form-control selectpage" name="row[train_id]" type="text" value="{$row.train_id|htmlentities}"> -->
            <select id="c-train_id" data-rule="required" class="form-control selectpicker" name="row[train_id]">
                {foreach name="gettrain" item="vo"}
                <option value="{$vo.id}" {if condition ="$vo.id eq $row.train_id"} selected {/if}>{$vo.title}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Timetrain')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-timetrain" class="form-control" name="row[timetrain]" type="text" value="{$row.timetrain|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
